import { basicRoutes } from '@/router/routes.js';

const useMenus = () => {
  let menus = [...basicRoutes];

  const setMenus = (arr) => {
    menus = arr;
  };

  return [menus, setMenus];
};

export default useMenus;
